@extends('layout.wechat_frame')

@section('main')

    <header class="mui-bar mui-bar-nav">
        <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
        <h1 class="mui-title">询价报价-报价单详细</h1>
    </header>

    <div class="mui-content">
        <ul class="mui-table-view mui-table-view-striped mui-table-view-condensed">
            <li class="mui-table-view-cell">
                <h4 style="margin: 10px 0px;">{{ $enquiry->title }}</h4>
                <h5 >质量指标:</h5>
			<textarea id="textarea" class="ips-textarea" rows="5" placeholder="" readonly>{{ $enquiry->quality }}</textarea>
                <h5 >质量修改意见:</h5>
                <textarea id="textarea" class="ips-textarea" rows="2" placeholder="" readonly>{{ empty($my_reply->quality) ? '无' : $my_reply->quality }}</textarea>
                <h5 ><span class="ips-span-first">数量</span><span class="ips-text-blue">{{ strval((float)$enquiry->quantity) }}吨</span></h5>
                <h5 ><span class="ips-span-first">船期</span><span>{{ $enquiry->sailing_date }}</span></h5>
                <h5 >交货地点及方式</h5>
                <textarea id="textarea" class="ips-textarea" rows="2" placeholder="" readonly>{{ $enquiry->terms_of_delivery }}</textarea>
                <h5 ><span class="ips-span-first">付款方式</span><span class="ips-text-blue">
                            {{ empty($my_reply->payment) ? '无' : $my_reply->payment }}
                    </span></h5>
                <h5 ><span class="ips-span-first">价格（人民币）</span><span class="ips-text-blue">
			{{ empty($my_reply->price) ? '无' : strval((float)$my_reply->price).' 元/吨' }}</span></h5>
                <h5 ><span class="ips-span-first">报价有效期</span><span class="ips-text-blue">
			{{ empty($my_reply->price_validity) ? '无' : '报价截止后 '.strval((float)$my_reply->price_validity).' 小时' }}</span></h5>
                <h5 ><span class="ips-span-first">补充说明:</span><span></span></h5>
                <textarea id="textarea" class="ips-textarea" rows="2" placeholder="" readonly>{{ empty($my_reply->remark) ? '无' : $my_reply->remark }}</textarea>
            </li>
        </ul>
    </div>

@section('js')

@stop